package com.scut.fy.admin.flux.repository;

import com.scut.fy.admin.flux.model.entity.SysUser;
import org.springframework.data.r2dbc.repository.R2dbcRepository;
import reactor.core.publisher.Mono;

/**
 * TODO
 *
 * @author JY
 * @version 1.0
 * @date 2021/9/28
 */
public interface SysUserRepository extends R2dbcRepository<SysUser, Long> {

    Mono<SysUser> findByUserName(String userName);
}
